package fr.vincent.aquarium.metier.entretien;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import fr.vincent.aquarium.metier.accessoire.Accessoire;


@Entity
@Table(name = "Entretien")
public class Entretien extends Accessoire implements Serializable {

	private static final long serialVersionUID = -409733265964246464L;

	
	private String libelle;
	private long id;
	
	@Id
	@GeneratedValue
	@Column(name = "id")
	public long getId() {
		return this.id;
	}
	@Column(name = "libelle", nullable = false)
	public String getLibelle() {
		return libelle;
	}

	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}

}
